package com.hackordie.operations;

import com.hackordie.commons.HackOrDieResult;
import com.hackordie.daos.UserDao;
import com.hackordie.exceptions.HackOrDieException;

public abstract class AHackOrDieOperationAuth extends AHackOrDieOperation {

	protected UserDao userDao;

	public AHackOrDieOperationAuth() {
		super();
		userDao = factory.getBean("userDao", UserDao.class);
	}

	protected abstract boolean checkParameters();

	protected abstract HackOrDieResult executeOperation() throws HackOrDieException;
}
